const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    lintOnSave: false,
    productionSourceMap: false,
    publicPath: '',
    outputDir: 'dist',
    devServer: {
        host: '0.0.0.0',
        port: 8080,
        proxy: {
            '/DXXRD': {
                target: 'http://localhost:5000/DXXRD',
                ws: false,
                changeOrigin: true,
                pathRewrite: {
                    '^/DXXRD': '',
                },
            },
            '/api': {
                target: 'http://localhost:5000/api',
                ws: false,
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '',
                },
            },
        },
    },
})
